<?
/**
 * <b>CalculatedHandlingDiscountType Class</b>
 * Published 04/11/2010 19:01:38
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('HandlingNameCodeType.php');
require_once('AmountType.php');

class CalculatedHandlingDiscountType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var HandlingNameCodeType $DiscountName
	public $DiscountName;
	// @var AmountType $EachAdditionalAmount
	public $EachAdditionalAmount;
	// @var AmountType $EachAdditionalOffAmount
	public $EachAdditionalOffAmount;
	// @var float $EachAdditionalPercentOff
	public $EachAdditionalPercentOff;
	// @var AmountType $OrderHandlingAmount
	public $OrderHandlingAmount;
 /** End Properties **/

/**
 *
 * @return HandlingNameCodeType
 */
	function getDiscountName(){
		return $this->DiscountName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDiscountName($value){
		$this->DiscountName = $value;
	}


/**
 *
 * @return AmountType
 */
	function getEachAdditionalAmount(){
		return $this->EachAdditionalAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEachAdditionalAmount($value){
		$this->EachAdditionalAmount = $value;
	}


/**
 *
 * @return AmountType
 */
	function getEachAdditionalOffAmount(){
		return $this->EachAdditionalOffAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEachAdditionalOffAmount($value){
		$this->EachAdditionalOffAmount = $value;
	}


/**
 *
 * @return float
 */
	function getEachAdditionalPercentOff(){
		return $this->EachAdditionalPercentOff;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEachAdditionalPercentOff($value){
		$this->EachAdditionalPercentOff = $value;
	}


/**
 *
 * @return AmountType
 */
	function getOrderHandlingAmount(){
		return $this->OrderHandlingAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderHandlingAmount($value){
		$this->OrderHandlingAmount = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("CalculatedHandlingDiscountType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"DiscountName"=>
					array(
						"required"=>false,
						"type"=>"HandlingNameCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"EachAdditionalAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"EachAdditionalOffAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"EachAdditionalPercentOff"=>
					array(
						"required"=>false,
						"type"=>"float",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderHandlingAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
